Skip to content

Conversation

Conaclos
Copy link
Contributor

@Conaclos Conaclos commented Sep 9, 2025

Because embedded-io-adapters::FromStd is an adapter, all calls should be forwarded to the inner implementation to take advantages of potential optimizations.

I didn't forward seek_relative because it is stable from Rust 1.80 that is higher than the MSRV of embedded-io-adapters.
I opened a separate PR for read_exact: #700

@Conaclos Conaclos requested a review from a team as a code owner September 9, 2025 11:52
@Conaclos Conaclos force-pushed the std-io-adapter-forward-calls branch 2 times, most recently from a8076cd to d76fb43 Compare September 9, 2025 12:16
@Conaclos Conaclos force-pushed the std-io-adapter-forward-calls branch from d76fb43 to 0da71da Compare September 9, 2025 12:34
@Conaclos Conaclos force-pushed the std-io-adapter-forward-calls branch from 0da71da to 4cfb197 Compare September 9, 2025 12:38
@Dirbaio Dirbaio added this pull request to the merge queue Sep 9, 2025
Merged via the queue into rust-embedded:master with commit ef9b7a7 Sep 9, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants